﻿using SmartAnswerPlatform.Models.ViewModels.Base;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartAnswerPlatform.Models.Entitys.System
{
    /// <summary>
    /// 用户角色关联表
    /// </summary>
    [SugarTable("sys_user_role", "用户角色")]
    public class SysUserRole : BaseEntity
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [SugarColumn(ColumnDescription = "用户Id")]
        public long? UserId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        [SugarColumn(ColumnDescription = "角色Id")]
        public long? RoleId { get; set; }
    }
}
